package edu.hrbeu.entity;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

import javax.annotation.sql.DataSourceDefinition;

/**
 * @author wzq
 * @create 2021-12-16-15:04
 */
@Data
@NoArgsConstructor
@AllArgsConstructor

@TableName(value = "websites")
public class Website {
    @TableId(type = IdType.AUTO)//添加数据库自动生成主键,主键添加auto_increment
    private Integer id;
    private String name;
    private String url;
    private Integer alexa;
    private String country;


}
